import { createApp } from 'vue'

import pinia from '@/stores/index'
import '@/assets/main.scss'

import Echarts from 'vue-echarts'
import * as echarts from 'echarts'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(pinia)
app.use(router)

app.component('v-chart', Echarts)

app.config.globalProperties.$echarts = echarts

app.mount('#app')
